package Work0512;

public class TeacherTest {

	public static void main(String[] args) {
		Teacher a = new UITeacher("黑猪", "南京大学");
		a.introduction();
		a.haveClasses();
		System.out.println(">>>>>>>>>>>>>>>>>>>>>>>");
		Teacher b = new JAVATeacher("博文", "武汉大学");
		b.introduction();
		b.haveClasses();
	}

}
